<?xml version="1.0" encoding="windows-1252"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>Yamazure :: Person List</title>
        <link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/excite-bike/jquery-ui-1.8.18.custom.css"/>
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/bootstrap.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/additional.css" />
		<link media="all" type="text/css" rel="stylesheet" href="/yamazure/css/responsive.css" />
    </head>
    <body>
		<div class="navbar navbar-fixed-top">
   <div class="navbar-inner">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="#">
       		Yamazure&nbsp;&nbsp;&nbsp;&nbsp;
       </a>
     </div>
   </div>
 </div>
		
		<div class="container">
		
        #if ($person.isEmpty()) No person
        #else

        <table>
            <tr>
                <td>None</td>
                <td><input class="btn btn-danger" type="button" onClick="javascript:window.opener.document.getElementById('relation').value='';window.opener.document.getElementById('personRelation').value='None';window.close();" value="Set"/></td>
            </tr>
            #foreach ($i in $list)
            <tr>
                <td>$i.firstName&nbsp;$i.lastName</td>
                <td><input class="btn btn-success" type="button" onClick="javascript:window.opener.document.getElementById('relation').value='$i.id';window.opener.document.getElementById('personRelation').value='$i.firstName';window.close();" value="Set"/></td>
            </tr>
            #end
        </table>
        #end
        
        </div>
        <script src="/yamazure/js/jquery-1.7.1.min.js"></script>
		<script src="/yamazure/js/jquery-ui-1.8.18.custom.min.js"></script>
		<script src="/yamazure/js/bootstrap.js"></script>
    </body>
</html>
